using System;
using System.Runtime.InteropServices;
namespace BMC.ARSystem
{
	[ClassInterface, Guid("595479ee-0614-452b-91f2-842d5d671774"), ProgId("ARSystem.PackingListItem")]
	public class PackingListItem
	{
		[Guid("044021bd-b0c8-4bfb-a851-391b65d6eaaf")]
		public enum ObjectType
		{
			Schema = 2,
			ActiveLink = 5,
			Filter = 3,
			Escalation,
			Menu = 7,
			Container = 6,
			PackingList = 32785,
			Application = 32784,
			ActLinkGuide = 32783,
			FilterGuide = 32793,
			WebService = 32801,
			GroupData = 32786,
			DistributedMapping,
			DistributedPool = 32792,
			Unknown = -1
		}
		private PackingListItem.ObjectType objectType_;
		private string name_;
		public PackingListItem.ObjectType Type
		{
			get
			{
				return this.objectType_;
			}
			set
			{
				this.objectType_ = value;
			}
		}
		public string Name
		{
			get
			{
				return this.name_;
			}
			set
			{
				this.name_ = value;
			}
		}
		public PackingListItem(PackingListItem.ObjectType objectType, string name)
		{
			this.objectType_ = objectType;
			this.name_ = name;
		}
		public override string ToString()
		{
			return string.Format("{0}: {1}", this.Type.ToString(), this.Name);
		}
		public override bool Equals(object obj)
		{
			PackingListItem packingListItem = obj as PackingListItem;
			return packingListItem != null && this.Type.Equals(packingListItem.Type) && this.Name.Equals(packingListItem.Name);
		}
		public override int GetHashCode()
		{
			return (int)(this.Type + this.Name.GetHashCode());
		}
	}
}
